Networks

ABSTRACT

The invention relates to data networks, and to nodes making up parts of data networks, arranged to derive information relating to the characterisation of paths taken by data travelling between nodes in the networks. Path characterisation information is fed back from a receiver of data to a provider of data, and informs nodes subsequently forwarding data of characteristics of the downstream path. Also described are routing and related controlling nodes and methods for using such path characterisation information to make informed routing and other decisions when forwarding data in a data network.

The present invention relates to networks, for example data networks such as the Internet, and to routing in networks. It relates to ad hoc networks and to fixed networks, to networks which may be parts of other larger networks, to bounded networks such as an intranet, and to unbounded networks such as the Internet. It relates to networks for conveying information or other resources which may be in digital or analogue form, and which may be in packet or non-packet form. More specifically, aspects of the present invention relate to methods and systems for providing information, or for contributing towards the provision of information, which may be used for characterising paths through networks, and to the use of this information. Such information has applications in relation to the treatment of data being forwarded through a network, and particularly to the routing of data and other items through networks, and to establishing the presence of capabilities along paths through networks, in relation to charging, priority, quality of service and congestion issues for users of networks.

BACKGROUND

Data in a network such as the Internet is generally sent from a source to a destination in blocks which are usually referred to as packets or datagrams, these terms generally being used interchangeably. In order to allow communication, via the Internet, between source points and destination points irrespective of whether or not they have previously communicated, a protocol known as an Internet Protocol (IP) is used. This is a data-oriented protocol used by source and destination hosts, or servers, for communicating data across a packet-switched network in order to ensure that no specific set-up process is needed before a host acting for a source tries to send packets to a host acting for the intended destination or destinations, irrespective of whether or not they have previously communicated, and irrespective of the type of data that is being communicated. Internet Protocol is a protocol relating to how certain types of information may be included in a specific manner in a “header” associated with the packets. It precedes the data in the packets, and allows them to be routed from source to the correct destination via the Internet.

Internet Protocol Headers

With reference to FIG. 1, headers associated with datagrams according to the current version of the Internet Protocol, known as IPv4, comprise a first 4-bit field indicating this version. The second field is a 4-bit “Internet Header Length” (IHL) field indicating the number of 32-bit words in the IPv4 header. The following 8 bits have been allocated to a “Differentiated Services” field containing the 6 bit Differentiated Services Code Point (DSCP) and the 2 bit “ECN” (Explicit Congestion Notification) field. The DSCP allows it to be specified how the datagram should be handled as it makes its way through the network (i.e. low delay, high priority etc.). The ECN field is set probabilistically at a congested resource so that, over a series of packets, the destination can infer the level of congestion of the path traversed. The next 16-bit IPv4 field defines the entire datagram size, including header and data, in 8-bit bytes. The minimum-length datagram is 20 bytes and the maximum is 65535.

The next field is a 16-bit “Identification” field. This field has primarily been used for unique identification of fragments of an original IP datagram. It has been suggested that this field could be used for other purposes, such as for adding packet-tracing information to datagrams. A 3-bit “Flags” field follows which is used to control or identify fragments. This is followed by a 13-bit “Fragment Offset Field” which allows a receiver to determine the position of a particular fragment in the original IP datagram.

The next filed is an 8-bit “Time-To-Live” (TTL) field, which aims to prevent datagrams from persisting (e.g. going around in loops) within a network. Historically the TTL field limited a datagram's lifetime in seconds, but it has come to be a “hop count” field, with some attempt to maintain the original meaning by hops across large distances making themselves appear as multiple hops. The value may initially set at 255. Each packet switch (or router) that the datagram crosses decrements the TTL field by one (or maybe more at interfaces to long distance links). If the TTL field hits zero before reaching its intended destination, the packet is no longer forwarded by a packet switch and is thus discarded.

An 8-bit Protocol field follows. This field defines the next protocol used in the data portion of the IP datagram. The Internet Assigned Numbers Authority maintains a list of Protocol numbers. Common protocols include ICMP, TCP and UDP.

The following field in an IPv4 datagram header is a 16-bit “Checksum” field. Some values in a IPv4 datagram header may change at each packet switch hop, so the checksum may need to be adjusted on its way through a network. The checksum is followed by 32-bit “Source Address” and a 32-bit “Destination Address” fields respectively.

Additional header fields (called “Options”) may follow the destination address field, but these are not often used.

Reliability in a Network

It should be noted that the Internet Protocol itself does not provide or guarantee a reliable datagram service, but a “best effort” service—it makes almost no guarantee that packets will reach their destination. Packets may arrive damaged, out of order, duplicated, or may be dropped entirely. In order to provide reliability in a network, there may also be a “Transport” layer. This is responsible for end-to-end error recovery and flow control, and aims to ensure complete data transfer, although this again cannot be guaranteed for any of a variety of reasons relating to capacity, infrastructure problems, abuse etc. In the IP protocol Stack this function is achieved by the connection oriented Transmission Control Protocol (TCP). Alternatively a basic datagram service can be provided by the User Datagram Protocol (UDP).

Routing in a Network

Between source points and destination points in a network, there are generally multiple intermediate points, some of which may be active, in the sense that they may take a role in the decision-making regarding the route by which data they receive is forwarded on towards the destination. In the context of the Internet, these may be known as packet switches, or Internet routers. Other intermediate points may be passive, in the sense that they take no part in this decision-making—data may simply pass via them on its way through the network. Intermediate points that are “active” in the above sense may look at information in or associated with the data, in particular the destination address, in order to determine the subsequent path, or at least the next leg of the path, that the data should take in order to proceed towards its destination. In addition to such decision-making in respect of a specific item of data, intermediate points may communicate continuously with each other in order to share information about network conditions. Typically this information concerns the number of hops to each destination network and may include other information such as policies concerning whether one network wishes to offer routing transit to another. Intermediate points may also continuously share information about more pathological network conditions, such as infrastructure problems, congestion levels and delays occurring at different areas within the network. It should be noted that “areas” in the context of a network need not be areas in the geographical, or even the sense of a physically interconnected set of nodes—they may be areas of connectivity in a virtual network overlaid on the real physical links, which simply have a function to perform or a service to provide, much as the Internet is a network of virtual links overlaid on lower layer physical links.

Routing decisions may be taken in order to balance the load across different areas of a network, or to route data around a problem area. In addition to this, if the network is being run on a commercial basis, with charges being made for services provided, routing decisions may be taken in order to find the cheapest, fastest, or most reliable route through the network. In relation to this, various schemes, such as “congestion charging” schemes, operate or have been proposed for determining how such charges could or should be levied, but there are significant problems in setting up a system which is workable and fair, not least because for a data packet to leave a sender and reach its destination, it may need to pass through parts of one or more networks which may be of a variety of different types (i.e. fixed, ad hoc etc.). These may extend through several different countries or via satellites, be under the control of different entities, or conform to a variety of different sets of rules, both technical and legal. For a charging scheme to operate successfully in such circumstances, it may need to be able to operate irrespective of levels of trust between entities, and may need to be resistant to abuse or dishonest behaviour by any entities involved.

Charging schemes based on the Explicit Congestion Notification (ECN) field have been proposed. If the ECN capability is enabled by the sender (after negotiation with the receiver) the 2-bit ECN field is initialised to a binary value of either 01 or 10 (which are considered equivalent for the purposes of congestion control). The ECN field may be set to binary 11 (congestion experienced—CE) by any router through which a data packet passes, depending probabilistically on the levels of congestion currently being experienced by that router. When the data reaches its destination, the relative proportion of packets set to CE may provide an indication to the receiver of the overall level of congestion on the path by which the data passed through the network. This may be interpreted as a “cost” associated with the delivery of data via that particular path, which may be allocated to the receiving entity, the sending entity, or one or more other entities. Irrespective of whether any entity truly pays any consideration, the information available to the receiver may be of use in allowing routing decisions to be taken. It will be noted however that for any other entity to take any action or decision based on the final value, they generally need to be able to rely on the receiving entity to have passed on correct information.

In the literature that is supportive of using congestion charging of the above type, the problem of only the receiver being able to pay congestion charges or rely directly on information based on Explicit Congestion Notification data has generally been dismissed by arguing that arrangements between sender and receiver are a separate problem. This problem has been used as an argument against congestion charging, but no attempts at solving this problem are apparent in the literature.

SUMMARY OF THE INVENTION

The sender in a network such as datagram network can be thought of as being active, whereas the receiver may be passive, in the following sense. A node capable of sending items of data may be able to control what it sends, where it tries to send them, and how often it sends them, but it has very little control over what, from where or how often it receives datagrams. On the other hand, a sender is generally in the worst natural position to know about the network it is sending data into, while a node receiving data may at least have the benefit of being able to receive information characterising the path taken by arriving data (path congestion, hops traversed etc). In this regard, the sender can be thought of as having control without knowledge, whereas the receiver has knowledge without control. A receiver thus needs to provide feedback to the sender in respect of the path knowledge it learns, in order to carry path knowledge to where the control is. This is how the Internet currently works. Herein lie two problems:

-   -   (i) if the receiver has no incentive to feed back the         information, and to feed it back honestly, it may well not do         so;     -   (ii) intermediate nodes are both receivers and senders (in the         sense that forwarding is simply sending something that has been         received), but end to end feedback only conveys path knowledge         to the first sender on the path, and does not convey path         knowledge to every intermediate sender. Although the Internet is         based on the end-to-end principle, where intermediate nodes are         not expected to exercise intelligent control, they are often         expected to make intelligent forwarding decisions based on         routing information, which essentially should comprise knowledge         of the downstream path. They may also be expected to make         decisions on the rate at which they forward different classes of         data, which would also ideally be informed by downstream path         knowledge.

As will be explained in more detail later, embodiments of the present invention allow for solutions to be provided, amongst others, to one or both of two general problems, which can be regarded as separate but related. These problems can be summarised as follows:

-   -   1) How to arrange for the provision of information to nodes         characterising the downstream path from those node; and     -   2) How to proof this information from falsification.

According to the present invention, there is provided a data network comprising a provider node, a receiver node, and a plurality of intermediate nodes, the provider node being arranged to provide data to at least one of said intermediate nodes or to the receiver node, said intermediate nodes being arranged to receive data and forward data to at least one other intermediate node or to the receiver node, and the receiver node being arranged to receive data from at least one intermediate node or from the provider node; wherein:

-   -   said data comprises at least a part which relates to a path         characterisation metric;     -   said provider node is arranged to assign an initial condition to         the path characterisation metric in respect of data provided by         it;     -   said intermediate nodes are arranged to update the condition of         the path characterisation metric in respect of data they         forward;

said receiver node is arranged to make available for the provider node information indicative of a discrepancy between the condition of the path characterisation metric in respect of data received by it and a predetermined target condition for the path characterisation metric; and wherein

-   -   said provider node is arranged to assign a different initial         condition to the path characterisation metric in respect of         subsequent data provided by it in the event that it receives         information indicative of such a discrepancy from said receiver         node.

Corresponding to this, there is also provided a method for assigning path characterisation metrics to data in a data network comprising a provider node, a receiver node, and a plurality of intermediate nodes, the provider node being arranged to provide data to at least one of said intermediate nodes or to the receiver node, said data comprising at least a part which relates to a path characterisation metric, said intermediate nodes being arranged to receive data and forward data to at least one other intermediate node or to the receiver node, and the receiver node being arranged to receive data from at least one intermediate node or from the provider node; the method comprising steps of:

-   -   assigning an initial condition to the path characterisation         metric in respect of data provided by the provider node;     -   updating the condition of the path characterisation metric in         respect of data forwarded by said intermediate nodes;     -   monitoring a final condition of the path characterisation metric         in respect of data received by the receiver node, and         determining a measure indicative of a discrepancy between said         final condition and a predetermined target condition for the         path characterisation metric; and     -   assigning a different initial condition to the path         characterisation metric in respect of subsequent data provided         by the provider node in the event that said measure indicates         such a discrepancy in respect of previous data.

Closely related to the above, there is also provided a feedback node for enabling an initial condition to be assigned to a path characterisation metric in respect of data to be forwarded through a data network, said data network comprising a provider node, a receiver node and a plurality of intermediate nodes, said data comprising at least a part which relates to a path characterisation metric; said provider node being arranged to assign an initial condition to the path characterisation metric in respect of data, and to provide said data to at least one of said intermediate nodes or to the receiver node; said intermediate nodes being arranged to receive data from said provider node or from one or more other intermediate nodes, to update a condition of the path characterisation metric in respect of data received by them, and to forward data to at least one other intermediate node or to the receiver node; and said receiver node being arranged to receive data from at least one intermediate node or from the provider node, and to make available for the feedback node information relating to the path characterisation metric in respect of data received by it; wherein

-   -   the feedback node is arranged to enable a different initial         condition to be assigned to the path characterisation metric in         respect of subsequent data provided by the provider node in the         event that said feedback node receives information indicative of         a discrepancy between a predetermined target condition for the         path characterisation metric and the condition of the path         characterisation metric in respect of previous data received by         said receiver node.

Corresponding to this, there is also provided a method of providing data in a data network comprising a provider node, a receiver node and a plurality of intermediate nodes, the provider node being arranged to provide data to at least one of said intermediate nodes or to the receiver node, said data comprising at least a part which relates to a path characterisation metric; said intermediate nodes being arranged to receive data from said provider node or from one or more other intermediate nodes, to update a condition of the path characterisation metric in respect of data received by them, and to forward data to at least one other intermediate node or to the receiver node; and said receiver node being arranged to receive data from at least one intermediate node or from the provider node, and to make available for the provider node information indicative of a discrepancy between an eventual condition of the path characterisation metric in respect of data received by it and a predetermined target condition for the path characterisation metric; the method comprising the steps of:

-   -   assigning an initial condition to the path characterisation         metric in respect of data;     -   providing said data to at least one of said intermediate nodes;     -   receiving information relating to said eventual condition of the         path characterisation metric in respect of previously-provided         data received by said receiver node; and     -   assigning a different initial condition to the path         characterisation metric in respect of subsequent data in the         event of receipt of information indicative of a discrepancy         between said eventual condition of the path characterisation         metric and a predetermined target condition for the path         characterisation metric.

It will be understood that according to preferred embodiments, either the provider node or the receiver node may also serve as the “feedback node” (i.e. the feedback node need not be a node additional to the provider node, intermediate nodes, and receiver node of a network as set out above. Whether it is the provider node or receiver node that serves as the feedback node may affect how it enables a different initial condition to be assigned, however.

In general, it will be understood that the variable “condition” and the “predetermined target condition” for a path characterisation metric will usually be values, examples of which are provided in detail below. It is foreseeable however that certain embodiments of the invention may instead use types of condition that are not themselves values, such as, for example, the amplitude or phase of an optical signal in an optical network.

Embodiments of the above may allow the following to be achieved:

-   -   1) Provision of path characterisation information to nodes in a         network, said information relating to any of a variety of         possible characteristics of the path or paths downstream of the         node in question. To achieve this, there may be no need for         upstream traffic beyond that being fed back end-to-end from a         destination of data to the appropriate source. This is         particularly useful where routes are asymmetric, particularly         where it is not possible to send data upstream over certain         unidirectional links (e.g. satellite links). But it is also         useful if the available capacity can be increased by removing         the overhead of routing information.     -   2) Ensuring that information such as the above may be proofed         against falsification for the gain of an individual controlling         any intermediate or end node.

Embodiments of the invention apply naturally to a network of datagram or packet networks (the Internet or optical packet networks), but there are a variety of other possible application areas.

It will be evident that while the path characterisation metric may in effect “travel” through the network with the item of data to which it relates, for example in the header of a data packet, according to a new version of an Internet Protocol for example, this is not necessarily the case. A path through a data network may be no more than a virtual data channel, and there is no need to restrict the “location” of any path characterisation information (to the extent that information has a location at all) to being within that channel. For instance, many network technologies separate control information from the data to which it refers. Control information, such as that characterising paths, is carried in separate messages using separate protocols, that refer to the relevant data channel that they characterise. Sometimes control information is even carried on separate physical links between control equipment that is distinct from data forwarding equipment. More commonly, control information is carried in separate virtual circuits over the same physical links. For this reason, variants of the invention as set out above may perform the path characterisation steps remote from the network, rather than within the network.

According to a variant of the present invention, there is thus provided a method for providing path characterisation information for nodes in a network, said network comprising a plurality of nodes including a provider node, a receiver node, and at least one intermediate node, the provider node being arranged to provide data to at least one intermediate node or to the receiver node, an intermediate node being arranged to receive data and to forward data to at least one other intermediate node or to the receiver node, and the receiver node being arranged to receive data from the provider node or from at least one intermediate node; the method comprising steps of:

-   -   assigning an initial condition to a path characterisation metric         in the event that said provider node provides data, said path         characterisation metric being associated with said data;     -   updating the condition of the path characterisation metric in         the event that an intermediate node receives said data;     -   determining an eventual condition of the path characterisation         metric in the event that said receiver node receives said data;         and     -   establishing if a discrepancy exists between the eventual         condition of the path characterisation metric and a         predetermined target condition; wherein, in the event that it is         established that a discrepancy does exist between said eventual         condition and said predetermined target condition, said method         further comprises steps of:     -   assigning a different initial condition to a further path         characterisation metric in the event that said provider node         subsequently provides further data, said further path         characterisation metric being associated with said further data;     -   updating the condition of said further path characterisation         metric in the event that an intermediate node receives said         further data; and     -   making information indicative of said updated condition         available to said intermediate node.

It will be noted that information corresponding to that which can be made available to intermediate nodes according to the above method, which allows for information relating to the downstream path to be deduced, can also be made available without assigning a different initial condition to further path characterisation metrics provided that information relating to the difference between the eventual condition of a previous path characterisation metric and said predetermined target condition is made available to the intermediate node in addition to information indicative of the updated condition of further path characterisation metrics. Using these two pieces of information, information relating to the downstream path can similarly be deduced in respect of a particular intermediate node.

According to another variant of the present invention, there is thus also provided a method for providing path characterisation information for nodes in a network, said network comprising a plurality of nodes including a provider node, a receiver node, and at least one intermediate node, the provider node being arranged to provide data to at least one intermediate node or to the receiver node, an intermediate node being arranged to receive data and to forward data to at least one other intermediate node or to the receiver node, and the receiver node being arranged to receive data from the provider node or from at least one intermediate node; the method comprising steps of:

assigning an initial condition to a path characterisation metric in the event that said provider node provides data, said path characterisation metric being associated with said data;

-   -   updating the condition of the path characterisation metric in         the event that an intermediate node receives said data;     -   determining an eventual condition of the path characterisation         metric in the event that said receiver node receives said data;         and     -   establishing if a discrepancy exists between the eventual         condition of the path characterisation metric and a         predetermined target condition; wherein, in the event that it is         established that a discrepancy does exist between said eventual         condition and said predetermined target condition, said method         further comprises steps of:     -   assigning an initial condition to a further path         characterisation metric in the event that said provider node         subsequently provides further data, said further path         characterisation metric being associated with said further data;     -   updating the condition of said further path characterisation         metric in the event that an intermediate node receives said         further data;     -   making information indicative of said updated condition         available to said intermediate node; and     -   making information relating to the discrepancy between the         eventual condition of a previous path characterisation metric         and said predetermined target condition available to said         intermediate node.

Systems corresponding to the above two methods, for providing path characterisation information in association with a data network, are also provided.

It will be noted that while it has been necessary to define the present invention in a variety of ways, there is a unifying concept between all of the definitions, in that all of them allow for information to be made available for use in relation to decision-making in relation to a node, such information relating to characteristics of a previously-used path downstream of that particular node, but without the need for the passing of information upstream other than that from a receiver node to a provider node. All of them require that the provider node re-inserts information it has learned from feedback concerning its recently used path back into the network for further intermediate nodes to forward as control information about the data, whether the control information is carried in the headers of data packets or in separate control messages.

With reference to all of the above aspects of the invention, it should be noted that in the context of this invention, a “network” need not be the whole of an intranet, or the Internet, or any particular bounded or unbounded network. For the purposes of this invention, a “network” may be a part of another larger network. Similarly, a “provider node” need not be a node responsible for originating any data. It may itself be providing data in the sense that it is forwarding data received from elsewhere. The features by virtue of which a “provider node” differs from another node may simply be those set out in the above statements of invention. Likewise, a “receiver node” need not be the intended final destination for the data. The path from a “provider node”, to a “receiver node” via any intermediate nodes may only be a sub-section of the total path from the originating source of the data to its intended final destination.

In this regard, embodiments of the present invention apply as much to data flows tunnelled between two tunnel end-points as to the data within the tunnel and its end-points, as long as there can be a flow of feedback between the tunnel end-points.

A co-pending International patent application claiming priority from the same UK patent application GB 04 07 144.5 has also been filed with claims to a related invention. This related invention, which will be outlined briefly below, relates to the routing of data in a data network. Path characterisation information such as that derived according to methods referred to above is capable of being used by intermediate nodes in a network when making routing decisions, or other decisions concerning the treatment of data in the network. Such decisions may be based on more directly relevant, useful and up-to-date information than has previously been possible, provided that such intermediate nodes are capable of deriving appropriate information from the path characterisation information they receive.

Thus, according to the initially filed claims of this co-pending application, there is provided an intermediate node for controlling the treatment of data in a data network, the data network comprising said intermediate node, at least one upstream node, and a plurality of downstream nodes, the or one of the upstream nodes being arranged to provide data to said intermediate node, the or one of the upstream nodes being arranged to provide path characterisation information to said intermediate node, and said downstream nodes being arranged to receive data via paths downstream from the intermediate node; said intermediate node comprising:

-   -   means for receiving data from an upstream node;     -   means for receiving path characterisation information from an         upstream node, and for deriving therefrom information indicative         of a characteristic of a path downstream of said intermediate         node;     -   means arranged to select, in dependence on said information         indicative of said characteristic of a downstream path, a         preferred manner of treatment for data to be forwarded on a         downstream path; and     -   means for forwarding data to a downstream node according to said         preferred manner.

Corresponding to this, the initially filed claims of this co-pending application also relate to a method for controlling the treatment of data to be forwarded from an intermediate node in a data network, the data network comprising said intermediate node, at least one upstream node, and a plurality of downstream nodes, the or one of the upstream nodes being arranged to provide data to said intermediate node, the or one of the upstream nodes being arranged to provide path characterisation information to said intermediate node, and said downstream nodes being arranged to receive data via paths downstream from the intermediate node; said method comprising the steps of:

-   -   receiving data from an upstream node;     -   receiving path characterisation information from an upstream         node, and deriving therefrom information indicative of a         characteristic of a path downstream of said intermediate node;     -   selecting, on the basis of said information indicative of said         characteristic of a downstream path, a preferred manner of         treatment for data to be forwarded on a downstream path; and     -   forwarding data to a downstream node according to said preferred         manner.

The preferred manner of treatment for data to be forwarded on a downstream path may simply relate to the selection of a preferred downstream path for the data (i.e. the method of controlling the treatment of the data relates to the onward routing of data), or a preferred node to which the data is to be forwarded. It may however relate to selection between different types of treatment or service on the same path. Examples of other types of service which may allow one or more different types of levels of treatment to be selected include the following:

-   -   (i) traffic engineering;     -   (ii) route advert verification;     -   (iii) contract verification;     -   (iv) differentiated service gateways.

In general, embodiments of the present invention are described with reference to data networks, however it will be noted that some embodiments of the invention may be applicable to other forms of network, such as workflow routing, electricity generation or even transport networks such as railway networks. However, the principal advantages of the invention are more evident in situations where it is problematic to provide immediate feedback for each message or event against the normal flow in the network along each link in order to keep each node in the network informed of the state of affairs downstream. Where the network carries non-information items (work, electrical current, cars etc.), often it is not natural to be able to carry feedback backward along every link of the network, because feedback is often pure information, which the network is not designed to carry. However, it may be sufficiently cost effective to arrange for items flowing forwards through the network to carry information even if they are not pure information themselves (e.g. cars), and for communications links to be strategically placed across inputs and outputs of the network to allow feedback to be returned to relevant inputs and re-inserted into the network. In cases such as these, embodiments of the invention might prove useful on a hop-by-hop basis back to the source. Given work-flows arrive much more slowly than packets, it may well be more efficient to send information directly back to the source of a workflow after each step of the process, than to piggy-back the information only on work-flows flowing forwards through the system. The distinguishing feature is that the “atoms” of messaging dealt with by a work-flow routing system are much larger than feedback to the source needs to be. This is a reason why feedback provided according to embodiments of the invention is particularly useful in a data network such as a packet network. It is advantageous to try to avoid sending feedback as often in the upstream direction as data is being sent in the downstream direction.

Nonetheless, it will be apparent that embodiments of the invention could also be applied to connection-oriented networks with connections consisting of cells, frames or packets (e.g. ATM, Frame Relay, SDH etc). It could be applied to control of future all-optical packet networks, which are hard to design because of the inability to buffer light packets arriving simultaneously at a switch so that they may be served sequentially. Although light cannot be stored without converting it to electrical information, it can be slowed down. Feedback provided according to embodiments of the invention could provide a mechanism to slow it down before it arrived at a contended switch output, as the inability to store light means the slow-down must be instigated in advance of it being needed, not once the light arrives at the output. Feedback provided according to embodiments of the invention is wholly applicable to routed overlay networks on the current Internet, such as those created in a peer-to-peer fashion like CAN, PASTRY, Chord and SWAN, described in the following publications:

Chord: see “Chord: A Scalable Peer-to-Peer Lookup Service for Internet Applications”, Hari Balakrishnan, M. Frans Kaashoek, David Karger, Robert Morris and Ion Stoica, Proc. ACM SIGCOMM′01, Computer Communication Review 31 (4) pp. 149-160 (October 2001);

SWAN: see “Fully Decentralised, Scalable Look-Up in a Network of Peers Using Small World Networks”, Erwin Bonsma, “Proc. Of the 6th World Multi Conf. On Systemics, Cybernetics and Informatics (SCI12002)”, pp. 147-152 (July, 2002);

CAN: see “A Scalable Content-Addressable Network”, Sylvia Ratnasamy, Paul Francis, Mark Handley, Richard Karp and Scott Shenker, Proc. ACM SIGCOMM′01, Computer Communication Review 31 (4) pp. 161-172 (October 2001); and

PASTRY: see “Pastry: Scalable, Distributed Object Location and Routing for Large-Scale Peer-to-Peer Systems”, Antony Rowstron and Peter Druschel, IFIP/ACM “International Conference on Distributed Systems Platforms (Middleware)”, pp. 329-350 (Novemeber 2001).

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a table showing fields in the headers associated with data according to the current version of the Internet Protocol, IPv4;

FIG. 2 is a topological representation showing pertinent features of a network;

FIG. 3 shows a simplified representation of a network for the purposes of explaining how routing decisions may be made;

FIG. 4 is a graph illustrating the use of a path characterisation metric based on an Explicit Congestion Level (ECL);

FIGS. 5, 6 and 7 are graphs indicating the use of and effects of using dropping algorithms.

DESCRIPTION OF PREFERRED EMBODIMENTS OF THE INVENTION

With reference to FIG. 2, there is shown a topological representation of certain features of a network. This figure will be referred to in order to describe an exemplary network 21 according to an embodiment of the invention, but it should be noted that the invention is applicable to a variety of different categories of network, such as fixed, mobile, ad hoc, and other types, and to networks themselves containing a variety of different categories of communication channels. As shown in FIG. 2, the network 21 may in fact be a sub-part of a wider network such as the Internet itself. The network 21 comprises a plurality of nodes 22, 24, 26, 28 each of which may serve to fulfil one or more of the following roles in relation to a particular attempt to communicate data from one location to another: providing data, forwarding data, and receiving data; or they may not be involved. At different times, or concurrently but in relation to different attempts to communicate data, or in relation to attempts to communicate data between alternative locations, nodes may of course take different roles. There may thus be no difference between the different types of node other than their function at a particular time. For the purposes of explaining this embodiment, however, the network 12 will be described in terms of comprising a provider node 22, a receiver node 26, and a plurality of intermediate nodes 24.

The provider node 22 and the receiver node 26 need not be the original source of the data or the eventual destination of the data. In this case, the originating source of the data is shown to be at node 20 which is outside the network 21, and the intended eventual destination of the data is shown as being at node 27, also outside the network 21. The only distinguishing features of a provider node and a receiver node relate to the fact that a receiver node sends feedback to a provider node which includes path characterisation information.

In between nodes are individual communication channels 23, 29 via which data can be communicated. For the purposes of explaining this embodiment, channels which link nodes which take a role in communicating data from the provider node 22 to the receiver node 26 will be referred to as hops 23. Between the provider node 22 and the receiver node 26, a variety of alternative paths may be taken, in which case other ones of the communication channels 23, 29 would be regarded as hops 23 on the path.

In the IPv4 header, two fields are used to characterise the path, the TTL and the ECN fields (certain options such as a “timestamp” option were also designed for this purpose). An embodiment of the invention that aimed to characterise the path against hop count and congestion metrics may require modifications to the standards for handling IP headers. Therefore the IP version field might be set to some future version, say eight. We will describe the embodiment using a new “Explicit Congestion Level” (ECL) field consisting of an 8 bit real number replacing the two bit ECN field (how this fits into the header need not concern us here). The TTL field could remain the same size, but both TTL and ECN fields will be used differently from their standardised semantics in IPv4. As will be understood from the explanation below, such an ECL field will be capable of providing path characterisation information to any node, such path characterisation information providing information from upstream of the node in question which is indicative of the amount of congestion likely to be experienced on a path downstream of the node in question by a data packet at the node in question.

When providing a first data packet, the provider node 22 assigns values to various fields in a header associated with that data packet, which may include any or all of the fields explained above with reference to the Internet Protocol IPv4 with alterations similar to those just described. The provider node 22 assigns an initial value to what will be referred to as the “path characterisation metric”. As will be explained, the semantics of the path characterisation metrics differ from those of the IPv4 header in a fundamental way, which is that the common reference level of the path characterisation metric is arranged to sit at the receiver node 26, rather than the provider node 22.

In order to explain this difference, reference will again be made briefly to the “time-to-live” (TTL) field in the Internet Protocol header. As explained earlier, this is currently initialised at the sender with a value of 255, and is decremented by every node that each packet traverses. Thus, at any node in the network, the difference (255-TTL) characterises the number of upstream hops that a packet has traversed. If the packet reaches its intended destination after 45 hops, the TTL value will have been decremented to 210, and will have served the purpose of indicating to intermediate nodes on the path that the packet had traversed no more than 45 hops. If, however, the packet was incorrectly routed and/or entered a loop such that it performed sufficient hops (i.e. 255 hops) for the TTL value to reach zero, this would indicate to a subsequent intermediate node that the packet could be discarded. In this event, an indication may be sent to the provider node that the packet failed to reach its destination, but subsequent packets would still be assigned an initial TTL value of 255.

Contrary to this, a path characterisation metric corresponding to the TTL field would be assigned an initial value by the provider node 22 such that if the packet traverses the same or a similar path on a subsequent occasion, and every intermediate node 24 on the path decrements it by one, it should end up at a predetermined common reference level of, for example, zero at the receiver. In order to achieve this, the receiver node 26 should feed back the difference between the actual received value of the path characterisation metric, and the predetermined common reference level at the receiver (e.g. zero) to the provider node 22. The provider node 22 can then adjust or correct the initial value of the path characterisation metric in relation to future packets to the same destination so that packets should generally arrive at the receiver node 26 with a value of or near zero. It will be noted that the first packet sent, or other packets sent before any feedback is received are unlikely to hit the zero target, and may accordingly be flagged as “guess” packets. Once feedback relating to a “guess” packet has been received by the provider node and used to adjust or correct the initial value of the path characterisation metric in relation to a subsequent packet, the value of the metric, as updated by subsequent intermediate nodes 24 in respect of hops traversed by the packet, will convey information to each subsequent intermediate node that relates to remaining number of hops to the destination, i.e. the “downstream path” in respect of node. With this new arrangement, any node in the network (whether provider 22, intermediate 24 or receiver 26) can read the value of the path characterisation metric in any “non-guess” packet as the predicted remaining number of hops to the destination, albeit one round trip time ago.

An important, if not fundamental advantage of using path characterisation metrics such as the above in the above manner will now be explained with reference to the “routing” of data packets through a network. As will become apparent, embodiments of the present invention allow intermediate nodes, taking the role of Internet routers for example, to make informed decisions with regard to the onward routing of packets they receive, based on information relating to the dynamic state of the downstream path to the destination (i.e. the path between the intermediate node in question and the intended receiver). They are able to do this without the need for upstream routing messages along the path in use other than those from the eventual receiver node back to the provider node. Previously, according to IPv4, routing messages have been passed upstream between intermediate nodes typically every 30 seconds. With use of a path characterisation metric as set out above, and without the need for such upstream routing messages, the changing state of the downstream path may be known almost continuously (albeit delayed by one round trip). Even at nodes where no data is currently destined for a particular destination, explicit additional routing messages need only be sent from nearby nodes that are being continuously updated. Thus, routing can continuously adapt and converge to downstream changes, without the need to wait for regular routing updates from the path in use. These advantages are applicable to improving routing convergence and efficiency in a variety of types of network, but this advantage is of particular relevance in relation to more dynamic scenarios such as where there is network mobility or in an ad hoc network, or where a more dynamic metric such as congestion as well as more stable metrics such as hop count are used to optimise routing.

Generally, the purpose of an Internet routing protocol is to maintain a “routing table” on, or in relation to any node that may act as a router. This allows data packets carrying any destination address to be forwarded via the correct interface. An objective of a routing protocol is to ensure that the routing table is as up-to-date as possible. It is advantageous if this can be done without requiring an unduly large volume of routing update messages between all the routers.

Referring to FIG. 3, a simplified representation of a network is shown in order to illustrate how embodiments of the invention allow for the provision of path characterisation information to nodes which allows them to make informed decisions relating to the routing of data through the network.

FIG. 3 indicates how routing decisions may be made using path characterisation information derived according to embodiments of the present invention. It shows how such path characterisation information may be exploited to route information towards a receiver by the “best” possible route. The word “best” seems to imply that the choice is subjective, but the sense in which the route is seen as the best can be chosen by selecting a metric corresponding to any of a variety of categories. Depending on the category of metric used, “best” may thus correspond to “cheapest”, “least-congested”, “most direct”, or “least propagation delay” etc, or even a weighted combination of these. In order to simplify the explanation, we will consider the routing of data based on just one type of path characterisation metric, “propagation delay”, for example. In this case it will be assumed that a “propagation delay” field exists in the data headers of the network protocol in use.

As will be understood, the selection of the “best” route (according to the chosen perception of “best”) is made possible because downstream traffic brings information about the conditions for sending information further downstream to the receiver.

In FIG. 3, senders S1 to S4 (squares) represent possible provider nodes, which may be single hosts or other networks from which data may be sourced . Receiver R1 represents a receiver node. Routers RT1 to RT6 (large circles) represent possible intermediate nodes on the path from a sender to a receiver. Each interface of each router is shown (smaller circles) holding the link cost of its locally-connected downstream link Δm_(i). Where two possible interfaces exist and a choice may need to be made between them, the link costs of the respective downstream links are shown in respective small circles. Using the example of propagation delay, this can be measured by a simple echo request along each link (whether wired or not) at boot, for example. For fixed links, a re-measuring of this delay may be triggered if the underlying logical link changes its topology, for example. For wireless links, it may be appropriate to measure propagation delay more regularly, depending on the likelihood of mobility.

As each router accepts data, it decrements the “propagation delay” field by the propagation delay Δm_(i) of the link the data was sent over. For simplicity the target value m_(z) for the “propagation delay” field will be taken to be zero in this example. Then according to embodiments of the present invention, after the first round-trip, further data packets flowing towards receiver R1 at every router may carry a “propagation delay to destination” (PDTD) value m_(i) in their headers which represents what the remaining delay to R1 was on the last round-trip. This is represented by the “in-data headers” (numbers in heads of large numbered arrows), and may be treated by routers as a Path Characterisation Metric (PCM). Routers may thus maintain the PDTD values for one, two, or more interfaces in their internal routing tables (see numbers inside large circles). Where two (or more) values are held, each router need only “advertise” its single “least-cost” or “best” route to its neighbours, but where a router may itself need to make a choice between the different interfaces, it may do this at any time simply by comparing the “least-cost” route with the “next least cost” route, or (in other terms) by comparing the “best” route with the “next best” route, at any time.

Routing messages, using a protocol similar to the current “Routing Information Protocol” (RIP) and containing PDTD values for R1 may be sent regularly from routers outwards from R1, every 30 seconds for example, unless a change triggers an immediate message. These are shown as numbers inside black arrows. These routing messages may however be suppressed where data is flowing along a link towards R1, since path characterisation information may then be provided instead according to the invention.

(A) Suppose firstly that sender S1 sends a regular information flow to R1. The initial value for each packet is set at PCM=7, and it arrives at destination R1 with a value of PCM=0. The intermediate node RT1 can learn from the PCM of the packets directed to R1 that the link cost between RT1 and R1 is PCM=7. The PCM field is decreased by 4 (i.e. 4 being the link cost between RT1 and RT5. This value may be proportional to the congestion of RT1 on that link, or to the propagation delay that has been established in respect of the link in question, for example). The packet is then forwarded to RT5 with PCM=(7−4)=3, and RT5 forwards this information to R1 decreasing the PCM by 3 (3 is the link cost between RT5 and R1).

It is important to note that once Router RT1 learns that the path cost (i.e. the result of combining individual link costs) between RT1 and R1 is PCM=7, this information can then be sent to the router RT2, RT5, RT6. The smaller numbered arrows represent “in route messages”, which may be implemented by whatever means is most appropriate, depending on the protocol chosen, in order to broadcast the path cost between nearby routers.

(B) Suppose that senders S3 and S4 send a regular information flow to R1. This would allow routers RT3 and RT4 to discover that their path costs to R1 are 6 and 3 respectively. It is important to note that RT3 would forward traffic to RT4 rather than RT6 because the link-cost between RT3 and RT4 is 3, which is lower than the cost between RT3 and RT6, which is 8. For the same reason RT4 would forward information directly to R1 instead of via RT5.

Again, it is important to note that Routers RT3 and RT4 learn that the path costs between them and R1 are PCM=6 and PCM=3 respectively. This information may again be sent to nearby routers using “in route messages”.

(C) Suppose that Sender S2 sends a regular flow to R1. The initial value for each packet is PCM=7 and it arrives at the destination R1 with a value of PCM=0. It is important to note that RT2 would send the information via RT3 and not via RT2 because the “cost” is lower.

The use of path characterisation information together with some routing messages from the routers nearby allows the cost from the router to the destination to be discovered in almost real-time (i.e. delayed by only one round trip time (RTT)). This method allows faster convergence compared to current routing protocol.

Before explaining the concept of path characterisation metrics further, it should be noted that while the above path characterisation metric appears to correspond in some ways to the TTL value in the IPv4 header, it differs fundamentally from this on account of the fact that the path characterisation information used as feedback is effectively normalised with respect to the receiver rather than the sender. This fundamental difference will be more clearly evident in relation to other embodiments of the invention which may involve path characterisation metrics corresponding to any of a variety of other header values or other characteristics associated with data packets, adapted by applying the above change of reference point to those values or other characteristics in order that they characterise the “downstream path” (i.e. from any node on the path in question) through the network rather than the “upstream path”, which is what is characterised by metrics such as the traditional TTL value. A non-exclusive list of possible candidates which could be used in association with embodiments of the invention follows, together with brief comments on each candidate:

1) Propagation delay: an ideal metric for determining optimal routes to destinations

2) Congestion delay: the queuing delay currently being introduced due to congestion

3) One way delay: the sum of queuing and propagation delay on the downstream path

4) Hop count: as discussed above, a simple and pragmatic integer approximation to propagation delay used for routing

5) Congestion shadow price: The probability that a current packet will cause any other packet to fail to achieve its required level of service (e.g. cause a low latency packet to arrive too late, or a best effort packet to be dropped etc.)

6) Explicit Congestion Notification (ECN): a pragmatic approximation to the congestion shadow price

7) Available capacity: the minimum spare capacity available on any downstream node

8) Loss-rate: the probability that the current packet will be dropped before reaching its destination

9) Error-rate: the probability that the current packet will be corrupted before reaching its destination (mainly distinguishing losses on wireless links due to fading etc, from congestion losses)

10) Downstream service availability: Previously, when upgrades have been made to inter-network services and the protocols used to request them, it has not been possible to know whether all nodes on a path between two end-points are capable of supporting a new service. Embodiments of the present invention allow introduction of a solution to this problem.

Those metrics from the above list that would be necessary and sufficient to operate a simple but complete network service will depend on the type, size and complexity of the network required. The list could include path characterisation metrics corresponding to propagation delay, congestion shadow price and error rate, for example.

Specific embodiments of this invention may use fields already existing in current protocol headers (for instance the eight-bit TTL field for the hop count or the two-bit ECN field for the congestion shadow price in IPv4 packets), or may require the introduction of new fields for metrics already in use that are better suited to effectively run what we will refer to as the “re-feedback” mechanism (for instance a larger shadow price congestion field in IPv6 packets, with a size of eight or maybe 32 bits if necessary), or may require the introduction of new fields suitable for metrics currently not handled at all (for instance a field for propagation delay in IPv6 packets).

Where the path characterisation metric corresponding to the TTL value or hop-count would in general be decremented in relation to each hop traversed, other mathematical functions may be appropriate in relation to other metrics. Typical ways that the above metrics could be combined between all downstream nodes include the following:

-   1) Sum() -   2) Difference() -   3) Max() -   4) Min() -   5) Logical AND() -   6) Logical OR() -   7) Combinatorial product() -   8) Combinatorial quotient()

Each path characterisation metric m is represented by a header value h. The header value would in general be combined across all the nodes on a path with the most useful function, for instance one of the functions listed above. Logical AND() may be the most appropriate for “Downstream Service Availability”, Min() for “Available Capacity” Combinatorial product() for “Congestion shadow price”, Difference for “Unloaded delay”, etc.

With reference to FIG. 4, a graph is shown illustrating the use of a path characterisation metric based on the Explicit Congestion Level (ECL), by way of example.

A path across a network consisting of a sequence of nodes (v₀, v₁, . . . v_(i), . . . v_(n)) is represented, with source v₀ and destination V_(n). Rather than a single bit to notify congestion, a metric “m”, used in an Explicit Congestion Level (ECL) multibit field “h” in the network layer header of all data packets is used in this example. This field should be wide enough to represent a reasonable number of discrete values, both positive and negative. Value m^(i) represents the value of the field before processing by the i^(th) node. It is updated at each node according to a combining function f(.) common to all the nodes h_(i+1)(t)=f(h_(i+1)(t), m_(i)(t)) where m_(i)(t) is the local contribution to the end-to-end path characterization metric. m_(i)(t) may for instance be a known value relative to the single downstream link (eg the unloaded delay), or reflect some dynamic condition of the node (eg the local congestion level could be given as the dropping probability of the RED algorithm).

A reference value h_(z) is defined for each metric as the target for the header field at the destination. In FIG. 4, h_(z)=0 for simplicity. Considering now the first of a “flow” of packets (step (1), circled, in FIG. 4), the sender or provider (22 in FIG. 2) should estimate an initial value for the ECL, h_(O), to place in the packet and store this value. After transmission over the path, the ECL arriving at the destination will be h_(n).

The receiver (26 in FIG. 2) then feeds h_(n) back to the sender using a relevant end-to-end protocol above the network layer (step (2), circled). When this feedback arrives at the sender, any discrepancy between h_(n) and h_(z) will require the sender to adjust the initial value it sets the header field to in the data packets it sends. The constraint for h_(n) to reach h_(z) at the destination gives the definition of the source initialisation function go so that h_(O)(t+T)=g(h_(n)(t),h_(z),f (.)). Note that this adjustment occurs one round-trip time after the packet last acknowledged was sent.

The sender can therefore adjust the rate at which it sends subsequent packets according to a congestion control algorithm (see later). The sender can also adjust its estimate of the initial ECL to use for the next packet sent over this path to m₀ (t+T)=m₀(t+T)—m_(f)(t), to try to ensure that the ECL will have dropped to exactly zero by the time it reaches the destination (step (3), circled).

For this next packet and all subsequent packets, if the path congestion remains unchanged, h_(n)=h_(z). However, if the path congestion changes, h_(O) will have to be updated again the following round-trip-time in order to ensure that the ECL field is still zero when it arrives at the destination. The sender may predict its initial ECL estimate for subsequent packets based on recent feedback from previously sent packets, in order to ensure h_(n) continues to approximate to zero. Irrespective of this, however, it will be seen that the above process already goes a considerable way towards achieving an important objective: values of hi at any point on the path can always give an indication of the metric downstream of that point, albeit one round-trip time late. To do so, a network node on the path of a flow may use the downstream path metric extraction function j(.) to get an estimate of the metric on the downstream path of each packet: {tilde over (m)}_(i)(t)=j(h_(i)(t), h_(z), f (.))

Examples of these three functions are given in Table 1 for different combining functions. TABLE 1 Definition of required functions to implement “re-feedback” for different types of combining function Combining function Difference Combinatorial product Combinatorial quotient h_(i+1)(t) = h_(i)(t) − m_(i)(t) 1 − (1 − h_(i)(t)) · (1 − m_(i)(t)) $1 - \frac{\left( {1 - {h_{i}(t)}} \right)}{\left( {1 - {m_{i}(t)}} \right)}$ Source initialisation function h₀(t + T) = h₀(t) − h_(n)(t) + h_(z) $1 - {\frac{\left( {1 - {h_{0}(t)}} \right)}{\left( {1 - {h_{n}(t)}} \right)} \cdot \left( {1 - h_{z}} \right)}$ 1 − (1 − h₀(t)) · (1 − h_(n)(t)) Downstream path metric extraction function {tilde over (m)}_(i)(t) = h_(i)(t) − h_(z) $1 - \frac{\left( {1 - h_{z}} \right)}{\left( {1 - {h_{i}(t)}} \right)}$ h_(i)(t) Metric for which it is useful Unloaded delay Congestion

It will be noted that to rely on these values it is necessary to ensure that everyone (or every node) in the feedback loop has the incentive to be truthful. The issue of incentives is discussed below.

In view of the above, further important advantages of using path characterisation metrics such as the above in the above manner will now be explained with reference to congestion charges, and incentives to act in good faith when providing network status information to other parts of the network. These are as follows:

1) Correct reaction to congestion previously depended on all end-nodes voluntarily complying with standard algorithms. Solutions have been developed in which a price is applied to Explicit Congestion Notification data in packets, giving an incentive to behave responsibly. However, these solutions rely on charging the destination, and expecting it to have a trust relationship with the source in order to encourage correct source behaviour. This has opened the possibility of destinations being subjected to malicious attacks from sources that could force their “victims” to pay congestion charges outside their control. Embodiments of the present invention allow sources to be charged directly for congestion on the downstream path, because information indicative of this is available at the interface between the source and its provider, rather than only at the destination. This also gives the correct incentives and local up-to-date information for inter-connect congestion charging and routing. Currently each receiving network would have to pay its immediately upstream network in proportion to the number of packets with the congestion experienced code point set in the ECN field. But a downstream network has upstream congestion information but cannot choose who routes to it, and the upstream network doesn't have downstream congestion information but can choose to whom it routes. So downstream networks would have to pay congestion charges to upstream networks whether they would have chosen to have received traffic from them or not.

2) When starting a new flow over a new path, embodiments of the invention provide the correct incentives to proceed cautiously until sufficient feedback has been received. Currently, Internet Protocols require voluntary compliance with congestion control initialisation algorithms in case the path to be used is close to or already in a state of congestion. Such controls lead to conservative behaviour, wasting transfer time when a path is in fact nowhere near being congested, which will become a considerable problem in the future if most objects transfers are complete before feedback from the first packet has arrived. Such controls are also open to abuse, with nodes having an incentive to ignore them for “selfish” reasons. Embodiments of the present invention allow for the risk of lack of knowledge of a path's state to be reflected in the shadow price charged, which may either be realised as an actual congestion charge, or as a deprioritisation of the traffic carrying the higher shadow prices. It also allows for the correct incentives to be given for intermediate nodes to aggregate numerous flows, each of which separately have no knowledge of the path state, but which can be treated collectively to learn the likely path state for a new flow from the path state recently learned from an old flow.

At this stage we can highlight an important point about the congestion level reported in the initial packets in a flow sent without the benefit of any feedback. Although we have already recommended that these values should be flagged as guesses, we still recommend that they should be treated individually just like any other packets. That is, if their downstream congestion level m_(zi) consistently drops below zero, a policing system should penalise (drop) them irrespective of their ‘guess’ status. So the sender will have to overstate the initial shadow price m_(z0) to ensure such packets have contingency to travel the full length of their unknown path. But the over-stated shadow price they carry m_(zi) should entitle them to a lesser share of any congested resources, assuming it is higher than other packets of the same class. This effectively enforces a behaviour like the slow start phase of TCP until the path has been correctly characterised. Such a harsh regime ensures that the risk of entering an unknown path is borne by the new flow, rather than spread across other flows it encounters.

3) Because knowledge of the downstream path can be available in the network layer header information of downstream data traversing the network, intermediate nodes can use it in order to act as a congestion control proxy for the provider. A specific differentiated services gateway has been invented, which can selectively deprioritise and eventually drop the traffic most likely to experience (and therefore cause) congestion on its active downstream paths. Previously, the information required by a proxy was in feedback data passing end to end upstream from destination to source, often on a different path from the downstream flow. Hence proxies found it difficult to access this information, because there was no guarantee they were even on the path of the data. Where such proxies were in use, they were also required to understand all possible higher layer feedback protocols, effectively constraining the introduction of new protocols. Embodiments of the present invention allow for relevant information to be kept at the right layer, in the right direction and therefore on the right path.

The above discussion relates in general to how embodiments of the present invention allow for solutions of the first of the two general problems set out above, relating to the provision of information characterising the downstream path to be made available to every node. An explanation will now be given as to how embodiments of the present invention allow for the solution of the second of the two general problems set out above, namely how to proof this information against falsification.

Proofing Path Characterising Information Against Falsification

For the following, the explanation will be given with reference to a specific metric, namely a path characterisation metric based on a Congestion Notification field of a future network protocol. In relation to this explanation, it will be assumed that congested nodes decrement the value of the metric by a value indicative of their current level of congestion. A system can be foreseen in which each node sending data along a path (noting that all intermediate nodes, when forwarding data, act in effect both as senders and receivers) pays for the level of congestion it forwards on in sent traffic, and each receiver is paid for the level of congestion in the traffic it receives (except the ultimate receiver—see later). In such a system intermediate nodes may collect revenue according to the level that they decrement the congestion field in each packet as “congestion charges”, and they have an incentive to route packets along the least congested and hence cheapest downstream path. Each intermediate node may also run a policing algorithm that probabilistically drops packets if their congestion level has decremented below zero, zero being the agreed target level in this case. Dropping algorithms will be discussed later.

In such a system, different incentives apply to different nodes depending on what role they are taking in the communication of data from provider to receiver. These incentives would apply as follows:

Incentives for the Provider Node:

-   -   The provider node has an incentive not to over-declare         congestion, otherwise it will have to pay too much.     -   The provider node also has an incentive not to under-declare         congestion, otherwise packets it sends may well be dropped         before they reach their destination.         Incentives for Intermediate Nodes:     -   Intermediate nodes have no incentive to decrement the congestion         level less than is actually being experienced—this would be         likely to lead to worse congestion and would deny the nodes         themselves revenue from congestion charges.     -   Intermediate nodes have no incentive to decrement the congestion         level more than is actually being experienced, as they cause         upstream congestion control algorithms to reduce otherwise         revenue carrying traffic towards them and will also risk losing         their traffic to competing routes.         Incentives for the Receiver     -   At first sight, it may seem that receivers are able to         over-declare congestion in their feedback in order to cause         their correspondent provider to pay too much in congestion         charges, but this will tend to cause the sender to slow down its         rate, which is not in the interests of the receiver.     -   Receivers have no incentive to under-declare congestion in their         feedback, as this will cause future traffic to be dropped before         it reaches them         Dropping Algorithms

An example of a dropping algorithm is outlined with reference to FIGS. 5, 6 and 7. In overview, it first measures the current moving average level of congestion in packets to a destination. It also either measures the current variance of the level, or uses a fixed value found to be typical from operating experience. This measured mean is used as a parameter to determine the probability that any particular packet will be dropped. If the mean is positive or zero, no packets will be dropped. If the mean is negative, a packet with a negative value will be dropped with a probability given by the dropper's probability distribution. The more negative the level of congestion in any particular packet, the greater the chance it will be dropped. The more negative is the mean, the stricter the dropping policy is.

It is well known that dynamically-priced tariffs such as congestion charging are not popular with customers, as they lead to unpredictable charges. A congestion control gateway that brokers the risk of variable pricing may be used. It would sit downstream of a sender, absorbing the risk of congestion pricing on the sender's behalf. It would buffer and eventually drop packets destined for the most congested downstream paths if the accumulated regular income it receives from the sender drops below the variable congestion charge it has to pay to its downstream inter-connect provider. Thus it would offer a constant level of service at a constant price, except during extreme sustained levels of congestion when it would degrade the service, keeping the price constant per unit time.

Other gateways offering different tariffs or service contracts may generally be much easier to design if feedback according to an embodiment of the invention is used, because downstream path knowledge is available at the point of control where the gateway is sending. 

1. A data network comprising a provider node, a receiver node, and a plurality of intermediate nodes, the provider node being arranged to provide data to at least one of said intermediate nodes or to the receiver node, said intermediate nodes being arranged to receive data and forward data to at least one other intermediate node or to the receiver node, and the receiver node being arranged to receive data from at least one intermediate node or from the provider node; wherein: said data comprises at least a part which relates to a path characterisation metric; said provider node is arranged to assign an initial condition to the path characterisation metric in respect of data provided by it; said intermediate nodes are arranged to update the condition of the path characterisation metric in respect of data they forward; said receiver node is arranged to make available for the provider node information indicative of a discrepancy between the condition of the path characterisation metric in respect of data received by it and a predetermined target condition for the path characterisation metric; and wherein said provider node is arranged to assign a different initial condition to the path characterisation metric in respect of subsequent data provided by it in the event that it receives information indicative of such a discrepancy from said receiver node.
 2. A data network according to claim 1, wherein the condition of the path characterisation metric at a node is indicative of a measure of congestion expected to be experienced by data on a path downstream of that node.
 3. A data network according to claim 1, wherein the condition assigned to the path characterisation metric is a value, and the predetermined target condition is a value.
 4. A data network according to claim 1, wherein in the event that said provider node assigns a different initial condition to the path characterisation metric in respect of subsequent data provided by it, said different initial condition is assigned such as to decrease a corresponding discrepancy in respect of said subsequent data received by said receiver node.
 5. A data network according to claim 4, wherein said different initial condition is assigned such as to maximise the possibility that said corresponding discrepancy in respect of said subsequent data received by said receiver node will be zero.
 6. A data network according to claim 1, wherein an intermediate node is arranged to update the condition of the path characterisation metric in response to a path characteristic associated with that node.
 7. A data network according to claim 6, wherein said path characteristic relates to a measure of congestion on a path associated with that node.
 8. A data network according to claim 6 wherein said path characteristic relates to a measure of congestion on a path downstream of that node.
 9. A method for assigning path characterisation metrics to data in a data network comprising a provider node, a receiver node, and a plurality of intermediate nodes, the provider node being arranged to provide data to at least one of said intermediate nodes or to the receiver node, said data comprising at least a part which relates to a path characterisation metric, said intermediate nodes being arranged to receive data and forward data to at least one other intermediate node or to the receiver node, and the receiver node being arranged to receive data from at least one intermediate node or from the provider node; the method comprising steps of: assigning an initial condition to the path characterisation metric in respect of data provided by the provider node; updating the condition of the path characterisation metric in respect of data forwarded by said intermediate nodes; monitoring a final condition of the path characterisation metric in respect of data received by the receiver node, and determining a measure indicative of a discrepancy between said final condition and a predetermined target condition for the path characterisation metric; and assigning a different initial condition to the path characterisation metric in respect of subsequent data provided by the provider node in the event that said measure indicates such a discrepancy in respect of previous data.
 10. A method according to claim 9, wherein the condition assigned to the path characterisation metric is a value, and the predetermined target condition is a value.
 11. A feedback node for enabling an initial condition to be assigned to a path characterisation metric in respect of data to be forwarded through a data network, said data network comprising a provider node, a receiver node and a plurality of intermediate nodes, said data comprising at least a part which relates to a path characterisation metric; said provider node being arranged to assign an initial condition to the path characterisation metric in respect of data, and to provide said data to at least one of said intermediate nodes or to the receiver node; said intermediate nodes being arranged to receive data from said provider node or from one or more other intermediate nodes, to update a condition of the path characterisation metric in respect of data received by them, and to forward data to at least one other intermediate node or to the receiver node; and said receiver node being arranged to receive data from at least one intermediate node or from the provider node, and to make available for the feedback node information relating to the path characterisation metric in respect of data received by it; wherein the feedback node is arranged to enable a different initial condition to be assigned to the path characterisation metric in respect of subsequent data provided by the provider node in the event that said feedback node receives information indicative of a discrepancy between a predetermined target condition for the path characterisation metric and the condition of the path characterisation metric in respect of previous data received by said receiver node.
 12. A feedback node according to claim 11, wherein the condition assigned to the path characterisation metric is a value, and the predetermined target condition is a value.
 13. A feedback node according to claim 11, wherein in the event that a different initial condition is assigned to the path characterisation metric in respect of subsequent data, said different initial condition is assigned such as to decrease a corresponding discrepancy in respect of said subsequent data received by said receiver node.
 14. A feedback node according to claim 11, said feedback node also serving as said provider node in said network.
 15. A feedback node according to claim 14, said feedback node being arranged to assign a different initial condition to the path characterisation metric in respect of subsequent data in the event that it receives, from said receiver node, a measure of a discrepancy between said predetermined target condition for the path characterisation metric and the condition of the path characterisation metric in respect of previous data received by said receiver node.
 16. A feedback node according to claim 14, said feedback node being arranged to assign a different initial condition to the path characterisation metric in respect of subsequent data in the event that it receives, from said receiver node, information indicative of the condition of the path characterisation metric in respect of previous data received by said receiver node, and determines that there is a discrepancy between said condition of the path characterisation metric and said predetermined target condition for the path characterisation metric.
 17. A feedback node according to claim 11, said feedback node also serving as said receiver node in said network.
 18. A feedback node according to claim 17, said feedback node being arranged to make available for the provider node a measure of a discrepancy between said predetermined target condition for the path characterisation metric and the condition of the path characterisation metric in respect of previous data received by said receiver node, whereby to enable said provider node to assign a different initial condition to the path characterisation metric in respect of subsequent data.
 19. A feedback node according to claim 17, said feedback node being arranged to make available for the provider node information indicative of the condition of the path characterisation metric in respect of previous data received by said receiver node, whereby to enable said provider node to assign a different initial condition to the path characterisation metric in respect of subsequent data in the event that said provider node determines that there is a discrepancy between said condition of the path characterisation metric and said predetermined target condition for the path characterisation metric.
 20. A method of providing data in a data network comprising a provider node, a receiver node and a plurality of intermediate nodes, the provider node being arranged to provide data to at least one of said intermediate nodes or to the receiver node, said data comprising at least a part which relates to a path characterisation metric; said intermediate nodes being arranged to receive data from said provider node or from one or more other intermediate nodes, to update a condition of the path characterisation metric in respect of data received by them, and to forward data to at least one other intermediate node or to the receiver node; and said receiver node being arranged to receive data from at least one intermediate node or from the provider node, and to make available for the provider node information indicative of a discrepancy between an eventual condition of the path characterisation metric in respect of data received by it and a predetermined target condition for the path characterisation metric; the method comprising the steps of: assigning an initial condition to the path characterisation metric in respect of data; providing said data to at least one of said intermediate nodes; receiving information relating to said eventual condition of the path characterisation metric in respect of previously-provided data received by said receiver node; and assigning a different initial condition to the path characterisation metric in respect of subsequent data in the event of receipt of information indicative of a discrepancy between said eventual condition of the path characterisation metric and a predetermined target condition for the path characterisation metric.
 21. A method according to claim 20, wherein the condition assigned to the path characterisation metric is a value, and the predetermined target condition is a value.
 22. A method according to claim 20, said receiver node being arranged to make available for the provider node a measure of a discrepancy between said predetermined target condition for the path characterisation metric and said eventual condition of the path characterisation metric in respect of previous data received, whereby to enable said provider node to assign a different initial condition to the path characterisation metric in respect of subsequent data.
 23. A method according to claim 20, said receiver node being arranged to make available for the provider node information indicative of the condition of said eventual path characterisation metric in respect of previously received data, whereby to enable said provider node to assign a different initial condition to the path characterisation metric in respect of subsequent data in the event that said provider node determines that there is a discrepancy between said condition of the path characterisation metric and said predetermined target condition for the path characterisation metric.
 24. A method for providing path characterisation information for nodes in a network, said network comprising a plurality of nodes including a provider node, a receiver node, and at least one intermediate node, the provider node being arranged to provide data to at least one intermediate node or to the receiver node, an intermediate node being arranged to receive data and to forward data to at least one other intermediate node or to the receiver node, and the receiver node being arranged to receive data from the provider node or from at least one intermediate node; the method comprising steps of: assigning an initial condition to a path characterisation metric in the event that said provider node provides data, said path characterisation metric being associated with said data; updating the condition of the path characterisation metric in the event that an intermediate node receives said data; determining an eventual condition of the path characterisation metric in the event that said receiver node receives said data; and establishing if a discrepancy exists between the eventual condition of the path characterisation metric and a predetermined target condition; wherein, in the event that it is established that a discrepancy does exist between said eventual condition and said predetermined target condition, said method further comprises steps of: assigning a different initial condition to a further path characterisation metric in the event that said provider node subsequently provides further data, said further path characterisation metric being associated with said further data; updating the condition of said further path characterisation metric in the event that an intermediate node receives said further data; and making information indicative of said updated condition available to said intermediate node.
 25. A method according to claim 24, wherein the condition assigned to the path characterisation metric is a value, and the predetermined target condition is a value.
 26. A method for providing path characterisation information for nodes in a network, said network comprising a plurality of nodes including a provider node, a receiver node, and at least one intermediate node, the provider node being arranged to provide data to at least one intermediate node or to the receiver node, an intermediate node being arranged to receive data and to forward data to at least one other intermediate node or to the receiver node, and the receiver node being arranged to receive data from the provider node or from at least one intermediate node; the method comprising steps of: assigning an initial condition to a path characterisation metric in the event that said provider node provides data, said path characterisation metric being associated with said data; updating the condition of the path characterisation metric in the event that an intermediate node receives said data; determining an eventual condition of the path characterisation metric in the event that said receiver node receives said data; and establishing if a discrepancy exists between the eventual condition of the path characterisation metric and a predetermined target condition; wherein, in the event that it is established that a discrepancy does exist between said eventual condition and said predetermined target condition, said method further comprises steps of: assigning an initial condition to a further path characterisation metric in the event that said provider node subsequently provides further data, said further path characterisation metric being associated with said further data; updating the condition of said further path characterisation metric in the event that an intermediate node receives said further data; making information indicative of said updated condition available to said intermediate node; and making information relating to the discrepancy between the eventual condition of a previous path characterisation metric and said predetermined target condition available to said intermediate node.
 27. A method according to claim 26, wherein the condition assigned to the path characterisation metric is a value, and the predetermined target condition is a value.
 28. A path characterisation system for providing path characterisation information in association with a data network, said data network comprising a plurality of nodes including a provider node, a receiver node, and at least one intermediate node, the provider node being arranged to provide data to at least one intermediate node or to the receiver node, an intermediate node being arranged to receive data and to forward data to at least one other intermediate node or to the receiver node, and the receiver node being arranged to receive data from the provider node or from at least one intermediate node; the path characterisation system comprising: a path characterisation metric condition assigning means, associated with the provider node, arranged to assign an initial condition to a path characterisation metric in the event that said provider node provides data; a path characterisation metric updating means, associated with an intermediate node, arranged to update the condition of the path characterisation metric in the event that said node receives data; and a path characterisation metric feedback means, associated with the receiver node, arranged to determine an eventual condition of the path characterisation metric in the event that said receiver node receives said data, and to make available for the path characterisation metric condition assigning means information indicative of a discrepancy between the eventual condition of the path characterisation metric and a predetermined target condition for the path characterisation metric; wherein said path characterisation metric condition assigning means is arranged to assign a different initial condition to a path characterisation metric associated with subsequent data in the event that feedback is made available indicative of such a discrepancy between the eventual condition of the path characterisation metric and the predetermined target condition in relation to a previous path characterisation metric.
 29. A path characterisation system according to claim 28, wherein the condition assigned to the path characterisation metric is a value, and the predetermined target condition is a value.
 30. A path characterisation system for providing path characterisation information in association with a data network, said data network comprising a plurality of nodes including a provider node, a receiver node, and at least one intermediate node, the provider node being arranged to provide data to at least one intermediate node or to the receiver node, an intermediate node being arranged to receive data and to forward data to at least one other intermediate node or to the receiver node, and the receiver node being arranged to receive data from the provider node or from at least one intermediate node; the path characterisation system comprising: a path characterisation metric condition assigning means, associated with the provider node, arranged to assign a path characterisation metric with an initial condition in the event that said provider node provides data, said path characterisation metric being associated with said data; a path characterisation metric updating means, associated with a node capable of receiving data, arranged to update the condition of the path characterisation metric in the event that said node receives data; and a path characterisation metric feedback means, associated with the receiver node, arranged to determine an eventual condition of the path characterisation metric in the event that said receiver node receives said data, and to make available for the path characterisation metric condition assigning means information relating to the eventual condition of the path characterisation metric; wherein said path characterisation metric condition assigning means is arranged to provide information relating to the eventual condition of the path characterisation metric associated with previous data in the event that feedback is made available indicative of such a discrepancy between the eventual condition of the path characterisation metric and the predetermined target condition in relation to a previous path characterisation metric.
 31. A path characterisation system according to claim 30, wherein the condition assigned to the path characterisation metric is a value, and the predetermined target condition is a value. 